package io.gitee.tianhaoran.chat.sdk.provider.chatgpt.listener;

import io.gitee.tianhaoran.chat.sdk.api.entity.chat.Message;

/**
 * 借鉴自  <a href="https://gitee.com/grt1228/chatgpt-java">chatgpt-java<a/>
 * <p>
 * 作者：沈自在
 **/
public class ConsoleChatgptEventSourceListener extends AbstractChatgptEventSourceListenerAdapter{

    @Override
    protected void onMessage(Message delta) {
        System.out.println(delta.getContent());
    }

    @Override
    protected void onComplete() {

    }
}
